package com.myjar.excel.v2;

import java.io.Closeable;
import java.io.OutputStream;
import java.util.Collection;

public interface Logger<T> extends Closeable {

    void log(Throwable throwable, int row, int cell);

    void push(T t);

    Collection<T> poll();

    boolean allRight();

    void writeTo(OutputStream outputStream);

    void setWorkbook(_Workbook workbook);

    Collection<String> error();
}
